
{% for host in groups.real_servers %}
   server {{ hostvars[host].ansible_hostname }}  {{ hostvars[host].ansible_default_ipv4.address }}:{{ nginx_port }} check inter 2000 rise 2 fall 5
{% endfor %}
